home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presen…tion Library 4 (Reseller) / Apple Ref. & Pres. Lib.v4.0.iso / 6-Apple⁄DEC Alliance / Solutions & Networking Guide / Macintosh Networking Guide / Macintosh Networking Guide / card_6099.txt < prev    next >
Text File  |  1990-04-17  |  16KB  |  691 lines

  1. -- card: 6099 from stack: in
  2. -- bmap block id: 9043
  3. -- flags: 0000
  4. -- background id: 14812
  5. -- name: Outliner
  6. ----- HyperTalk script -----
  7. on openCard
  8.   global Mack,Host
  9.   set lockscreen to true
  10.   put "Outliner" & return & "choose platform" into fld "Tell"
  11.   get field "Horizontal" of cd "Mac Grid"
  12.   put it into EnvHolder
  13.   repeat with lineNum = 1 to 7
  14.     if line lineNum of envHolder is not "Mac" then
  15.       put line lineNum of envHolder into line lineNum of cd fld "Environments"
  16.     else
  17.       put "Macintosh" into line lineNum of cd fld "Environments"
  18.     end if
  19.   end repeat
  20.   unlock screen with dissolve
  21. end openCard
  22.  
  23. on clearF
  24.   hide cd btn solutionshiliter
  25.   hide cd btn environmentshiliter
  26.   hide cd btn productshiliter
  27.   repeat with i = 1 to 7
  28.     hide cd fld i
  29.   end repeat
  30. end clearF
  31.  
  32.  
  33.  
  34. -- part 2 (field)
  35. -- low flags: 01
  36. -- high flags: 2002
  37. -- rect: left=0 top=62 right=89 bottom=106
  38. -- title width / last selected line: 0
  39. -- icon id / first selected line: 0 / 0
  40. -- text alignment: 1
  41. -- font id: 130
  42. -- text size: 16
  43. -- style flags: 16640
  44. -- line height: 21
  45. -- part name: environmentTitle
  46. ----- HyperTalk script -----
  47. on mouseEnter
  48.   put "Environment List" & return & "choose an environment below" into fld "Tell"
  49. end mouseEnter
  50.  
  51. on mouseLeave
  52.   put empty into fld "Tell"
  53. end mouseLeave
  54.  
  55.  
  56.  
  57. -- part 30 (field)
  58. -- low flags: 80
  59. -- high flags: 0000
  60. -- rect: left=114 top=49 right=70 bottom=224
  61. -- title width / last selected line: 0
  62. -- icon id / first selected line: 0 / 0
  63. -- text alignment: 0
  64. -- font id: 3
  65. -- text size: 12
  66. -- style flags: 0
  67. -- line height: 16
  68. -- part name: solChosen
  69.  
  70.  
  71. -- part 5 (field)
  72. -- low flags: 01
  73. -- high flags: 2002
  74. -- rect: left=105 top=62 right=89 bottom=283
  75. -- title width / last selected line: 0
  76. -- icon id / first selected line: 0 / 0
  77. -- text alignment: 1
  78. -- font id: 130
  79. -- text size: 16
  80. -- style flags: 16640
  81. -- line height: 21
  82. -- part name: solutionsTitle
  83.  
  84.  
  85. -- part 7 (field)
  86. -- low flags: 81
  87. -- high flags: 2002
  88. -- rect: left=282 top=62 right=89 bottom=512
  89. -- title width / last selected line: 0
  90. -- icon id / first selected line: 0 / 0
  91. -- text alignment: 1
  92. -- font id: 130
  93. -- text size: 16
  94. -- style flags: 16640
  95. -- line height: 21
  96. -- part name: ProdTitle
  97.  
  98.  
  99. -- part 13 (field)
  100. -- low flags: 01
  101. -- high flags: 2002
  102. -- rect: left=0 top=89 right=264 bottom=106
  103. -- title width / last selected line: 0
  104. -- icon id / first selected line: 0 / 0
  105. -- text alignment: 0
  106. -- font id: 156
  107. -- text size: 18
  108. -- style flags: 16384
  109. -- line height: 24
  110. -- part name: Environments
  111. ----- HyperTalk script -----
  112. on mouseUp
  113.   global env,Mack,Host
  114.   --‚àÜ clear hiliters for other columns
  115.   hide cd button "solutionshiliter"
  116.   hide cd button "productsHiliter"
  117.   --‚àÜ select and highlight line
  118.   put SelectionAndHiliter() into lineNumber
  119.   --‚àÜ Convert line number to the contents of the line
  120.   do "put line " & lineNumber & " of " & name of me & " into name"
  121.   --‚àÜ test for empty selection
  122.   if name is ""
  123.   then
  124.   play boing
  125.   answer "Click directly on an environment..." with "Try again!"
  126.   set hilite of cd button "environmentshiliter" to false
  127.   exit mouseUp
  128. end if
  129. hide cd fld "Products"
  130. hide cd fld "ProdTitle"
  131. --‚àÜ Adjust Macintosh back to Mac
  132. if name is not "Macintosh" then
  133.   put name into env
  134. else
  135.   put "Mac" into env
  136. end if
  137. --‚àÜ now test for Mac or Host selection
  138. if Mack then
  139.   put "" into MacOrHost
  140. else
  141.   put "Host" into MacOrHost
  142.   if name is "Macintosh" then
  143.     put "" into MacOrHost
  144.   end if
  145. end if
  146. --‚àÜ get the correct solution list
  147. get cd fld (env & "Sol") of card ("Limit" & MacOrHost)
  148. if it is empty then
  149.   put "No" && name && "solutions installed in this version" into cd fld "Solutions"
  150. else
  151.   put it into cd fld "Solutions"
  152. end if
  153. put name && "Solutions" into cd fld "SolutionsTitle"
  154. show cd fld "SolutionsTitle"
  155. show cd fld "Solutions"
  156. end mouseUp
  157.  
  158. on mouseEnter
  159.   put "Environment Field" & return & "click on an environment" into fld "Tell"
  160.   changeCurs 6069
  161. end mouseEnter
  162.  
  163. on mouseLeave
  164.   put empty into fld "Tell"
  165.   changeCurs 69
  166. end mouseLeave
  167.  
  168.  
  169.  
  170. -- part 14 (field)
  171. -- low flags: 01
  172. -- high flags: 2002
  173. -- rect: left=105 top=89 right=288 bottom=283
  174. -- title width / last selected line: 0
  175. -- icon id / first selected line: 0 / 0
  176. -- text alignment: 0
  177. -- font id: 156
  178. -- text size: 18
  179. -- style flags: 8192
  180. -- line height: 24
  181. -- part name: Solutions
  182. ----- HyperTalk script -----
  183. on mouseUp
  184.   global holder,sol,NH,Mack,Host
  185.   --‚àÜ hide products hiliter (in case of re-selection)
  186.   hide cd btn "productsHiliter"
  187.   --‚àÜ select and highlight line
  188.   put SelectionAndHiliter() into lineNumber
  189.   --‚àÜ Convert line number to the contents of the line
  190.   do "put line " & lineNumber & " of " & name of me & " into name"
  191.   --‚àÜ test for empty selection
  192.   if name is ""
  193.   then
  194.   play boing
  195.   answer "Click directly on a solution..." with "Try again!"
  196.   set hilite of cd button "solutionshiliter" to false
  197.   exit mouseUp
  198. end if
  199. if name contains "No " then --‚àÜ test for no solutions
  200.   hide me
  201.   hide cd fld "solChosen"
  202.   exit mouseUp
  203. end if
  204. set cursor to busy --‚àÜ now that we have a go, this could take a while
  205. put name into cd fld "solChosen" --‚àÜ store selected solution
  206. put name into sol
  207. --‚àÜ identify if Mac or host based view requested
  208. if Mack then
  209.   extractMac
  210.   put 1 into whichItem
  211. else
  212.   extractHost
  213.   put 2 into whichItem
  214. end if
  215. put empty into cd field "Products" --‚àÜ clear last product selection
  216. --‚àÜ extract products from env/sol strings
  217. if cd field "solChosen" is "Network¬†Services"
  218. then
  219. repeat with i = 1 to the number of lines of holder
  220.   put char 1 to 32 of item whichItem of line i of holder & return after cd fld "Products"
  221. end repeat
  222. else
  223.   repeat with i = 1 to the number of lines of holder
  224.     put char 1 to 32 of item whichItem of line i of holder & return after cd fld "Products"
  225.   end repeat
  226. end if
  227. set the scroll of cd fld "Products" to 0
  228. show cd fld "prodTitle"
  229. show card fld "Products"
  230. end mouseUp
  231.  
  232. on mouseEnter
  233.   put "Solutions Field" & return & "click on a solution" into fld "Tell"
  234.   changeCurs 6069
  235. end mouseEnter
  236.  
  237. on mouseLeave
  238.   put empty into fld "Tell"
  239.   changeCurs 69
  240. end mouseLeave
  241.  
  242.  
  243.  
  244.  
  245. -- part 16 (field)
  246. -- low flags: 81
  247. -- high flags: 2007
  248. -- rect: left=282 top=89 right=301 bottom=512
  249. -- title width / last selected line: 0
  250. -- icon id / first selected line: 0 / 0
  251. -- text alignment: 0
  252. -- font id: 156
  253. -- text size: 9
  254. -- style flags: 16384
  255. -- line height: 12
  256. -- part name: Products
  257. ----- HyperTalk script -----
  258. on mouseUp
  259.   global holder,product
  260.   --‚àÜ select and highlight line
  261.   put SelectionAndHiliter() into lineNumber
  262.   --‚àÜ Convert line number to the contents of the line
  263.   do "put line " & lineNumber & " of " & name of me & " into name"
  264.   --‚àÜ test for empty selection
  265.   if name is "" then
  266.     play boing
  267.     answer "Click directly on a product..." with "Try again!"
  268.     exit mouseUp
  269.   end if
  270.   --‚àÜ go to the selected product card
  271.   set lockscreen to true
  272.   set cursor to busy
  273.   hide cd btn "productsHiliter"
  274.   put character 1 to 26 of name into cardName
  275.   go cd cardName of stack "Products"
  276.   unlock screen
  277. end mouseUp
  278.  
  279. on mouseEnter
  280.   put "Products Field" & return & "click on a product" into fld "Tell"
  281.   changeCurs 6069
  282. end mouseEnter
  283.  
  284. on mouseLeave
  285.   put empty into fld "Tell"
  286.   changeCurs 69
  287. end mouseLeave
  288.  
  289.  
  290. -- part 18 (field)
  291. -- low flags: 01
  292. -- high flags: 0000
  293. -- rect: left=0 top=0 right=28 bottom=184
  294. -- title width / last selected line: 0
  295. -- icon id / first selected line: 0 / 0
  296. -- text alignment: 1
  297. -- font id: 156
  298. -- text size: 18
  299. -- style flags: 16384
  300. -- line height: 24
  301. -- part name: Title
  302. ----- HyperTalk script -----
  303. on mouseEnter
  304.   put "Outline View" & return & "click elsewhere" into fld "Tell"
  305. end mouseEnter
  306.  
  307. on mouseLeave
  308.   put empty into fld "Tell"
  309. end mouseLeave
  310.  
  311.  
  312.  
  313.  
  314. -- part 25 (button)
  315. -- low flags: 00
  316. -- high flags: 0000
  317. -- rect: left=343 top=303 right=342 bottom=386
  318. -- title width / last selected line: 0
  319. -- icon id / first selected line: 1409 / 1409
  320. -- text alignment: 1
  321. -- font id: 0
  322. -- text size: 12
  323. -- style flags: 0
  324. -- line height: 16
  325. -- part name: mask
  326. ----- HyperTalk script -----
  327. on mouseEnter
  328.   changeCurs 6069
  329.   put "Outliner Button" & return & "current location" into fld "Tell"
  330. end mouseEnter
  331.  
  332. on mouseLeave
  333.   put empty into fld "Tell"
  334.   changeCurs 69
  335. end mouseLeave
  336.  
  337.  
  338. -- part 28 (button)
  339. -- low flags: 00
  340. -- high flags: 4000
  341. -- rect: left=1 top=94 right=119 bottom=105
  342. -- title width / last selected line: 0
  343. -- icon id / first selected line: 0 / 0
  344. -- text alignment: 1
  345. -- font id: 0
  346. -- text size: 12
  347. -- style flags: 0
  348. -- line height: 16
  349. -- part name: environmentsHiliter
  350. ----- HyperTalk script -----
  351. on mouseEnter
  352.   changeCurs 6069
  353. end mouseEnter
  354.  
  355.  
  356.  
  357. -- part 29 (button)
  358. -- low flags: 80
  359. -- high flags: 4000
  360. -- rect: left=106 top=118 right=143 bottom=282
  361. -- title width / last selected line: 0
  362. -- icon id / first selected line: 0 / 0
  363. -- text alignment: 1
  364. -- font id: 0
  365. -- text size: 12
  366. -- style flags: 0
  367. -- line height: 16
  368. -- part name: solutionsHiliter
  369. ----- HyperTalk script -----
  370. on mouseEnter
  371.   changeCurs 6069
  372. end mouseEnter
  373.  
  374.  
  375.  
  376. -- part 31 (button)
  377. -- low flags: 80
  378. -- high flags: 4000
  379. -- rect: left=283 top=142 right=155 bottom=495
  380. -- title width / last selected line: 0
  381. -- icon id / first selected line: 0 / 0
  382. -- text alignment: 1
  383. -- font id: 0
  384. -- text size: 12
  385. -- style flags: 0
  386. -- line height: 16
  387. -- part name: productsHiliter
  388. ----- HyperTalk script -----
  389. on mouseEnter
  390.   changeCurs 6069
  391. end mouseEnter
  392.  
  393.  
  394.  
  395. -- part 32 (button)
  396. -- low flags: 00
  397. -- high flags: 0002
  398. -- rect: left=227 top=29 right=60 bottom=260
  399. -- title width / last selected line: 0
  400. -- icon id / first selected line: 527 / 527
  401. -- text alignment: 1
  402. -- font id: 0
  403. -- text size: 12
  404. -- style flags: 0
  405. -- line height: 16
  406. -- part name: hostSwitch
  407. ----- HyperTalk script -----
  408. on mouseEnter
  409.   put "Host/PC Solutions Button" & return & "click for host-based solutions" into fld "Tell"
  410.   changeCurs 6069
  411. end mouseEnter
  412.  
  413. on mouseUp
  414.   global Mack,Host
  415.   if the icon of me is 527 then
  416.     play "switch"
  417.     set icon of me to 823
  418.     set the hilite of cd btn "hostBasedIndicator" to true
  419.     set icon of cd btn "macSwitch" to 527
  420.     set the hilite of cd btn "macBasedIndicator" to false
  421.   else
  422.     set the hilite of cd btn "hostBasedIndicator" to true
  423.     set icon of cd btn "macSwitch" to 527
  424.     set the hilite of cd btn "macBasedIndicator" to false
  425.   end if
  426.   put true into Host
  427.   put false into Mack
  428.   clearF --‚àÜ hide products and solutions fields and titles
  429.   get field "Horizontal" of cd "Mac Grid"
  430.   put it into EnvHolder
  431.   repeat with lineNum = 1 to 7
  432.     if line lineNum of envHolder is not "Mac" then
  433.       put line lineNum of envHolder into line lineNum of cd fld "Environments"
  434.     else
  435.       put "Macintosh" into line lineNum of cd fld "Environments"
  436.     end if
  437.   end repeat
  438.   show cd fld "EnvironmentTitle"
  439.   show cd fld "Environments"
  440. end mouseUp
  441.  
  442. On mouseDown
  443.   global ButtonSND
  444.   play ButtonSND
  445. End mouseDown
  446.  
  447. on mouseLeave
  448.   put empty into fld "Tell"
  449.   changeCurs 69
  450. end mouseLeave
  451.  
  452.  
  453.  
  454. -- part 33 (button)
  455. -- low flags: 00
  456. -- high flags: 0002
  457. -- rect: left=0 top=29 right=60 bottom=33
  458. -- title width / last selected line: 0
  459. -- icon id / first selected line: 823 / 823
  460. -- text alignment: 1
  461. -- font id: 0
  462. -- text size: 12
  463. -- style flags: 0
  464. -- line height: 16
  465. -- part name: macSwitch
  466. ----- HyperTalk script -----
  467. on mouseEnter
  468.   put "Macintosh Button" & return & "click for Macintosh solutions" into fld "Tell"
  469.   changeCurs 6069
  470. end mouseEnter
  471.  
  472. on mouseUp
  473.   global Mack,Host
  474.   --‚àÜ Set the hilites and pushbuttons
  475.   if the icon of me is 527 then
  476.     play "switch"
  477.     set icon of me to 823
  478.     set the hilite of cd btn "macBasedIndicator" to true
  479.     set icon of cd btn "hostSwitch" to 527
  480.     set the hilite of cd btn "hostBasedIndicator" to false
  481.   else
  482.     set the hilite of cd btn "macBasedIndicator" to true
  483.     set icon of cd btn "hostSwitch" to 527
  484.     set the hilite of cd btn "hostBasedIndicator" to false
  485.   end if
  486.   put true into Mack
  487.   put false into Host
  488.   clearF --‚àÜ hide products and solutions fields and titles
  489.   get field "Horizontal" of cd "Mac Grid"
  490.   put it into EnvHolder
  491.   repeat with lineNum = 1 to 7
  492.     if line lineNum of envHolder is not "Mac" then
  493.       put line lineNum of envHolder into line lineNum of cd fld "Environments"
  494.     else
  495.       put "Macintosh" into line lineNum of cd fld "Environments"
  496.     end if
  497.   end repeat
  498.   show cd fld "EnvironmentTitle"
  499.   show cd fld "Environments"
  500. end mouseUp
  501.  
  502. On mouseDown
  503.   global ButtonSND
  504.   play ButtonSND
  505. End mouseDown
  506.  
  507. on mouseLeave
  508.   put empty into fld "Tell"
  509.   changeCurs 69
  510. end mouseLeave
  511.  
  512.  
  513. -- part 34 (field)
  514. -- low flags: 00
  515. -- high flags: 2002
  516. -- rect: left=32 top=29 right=60 bottom=213
  517. -- title width / last selected line: 0
  518. -- icon id / first selected line: 0 / 0
  519. -- text alignment: 0
  520. -- font id: 130
  521. -- text size: 13
  522. -- style flags: 16640
  523. -- line height: 17
  524. -- part name: macBasedIndicator
  525.  
  526.  
  527. -- part 22 (button)
  528. -- low flags: 00
  529. -- high flags: 4000
  530. -- rect: left=33 top=30 right=59 bottom=212
  531. -- title width / last selected line: 0
  532. -- icon id / first selected line: 0 / 0
  533. -- text alignment: 1
  534. -- font id: 3
  535. -- text size: 12
  536. -- style flags: 0
  537. -- line height: 16
  538. -- part name: macBasedIndicator
  539. ----- HyperTalk script -----
  540. on mouseEnter
  541.   put "Macintosh Button" & return & "click for Mac solutions" into fld "Tell"
  542.   changeCurs 6069
  543. end mouseEnter
  544.  
  545. on mouseUp
  546.   send mouseUp to cd btn "macSwitch"
  547. end mouseUp
  548.  
  549. On mouseDown
  550.   global ButtonSND
  551.   play ButtonSND
  552. End mouseDown
  553.  
  554. on mouseLeave
  555.   put empty into fld "Tell"
  556.   changeCurs 69
  557. end mouseLeave
  558.  
  559.  
  560.  
  561. -- part 35 (field)
  562. -- low flags: 00
  563. -- high flags: 2002
  564. -- rect: left=259 top=29 right=60 bottom=426
  565. -- title width / last selected line: 0
  566. -- icon id / first selected line: 0 / 0
  567. -- text alignment: 0
  568. -- font id: 130
  569. -- text size: 13
  570. -- style flags: 16640
  571. -- line height: 17
  572. -- part name: hostBasedIndicator
  573.  
  574.  
  575. -- part 23 (button)
  576. -- low flags: 00
  577. -- high flags: 0000
  578. -- rect: left=260 top=30 right=59 bottom=425
  579. -- title width / last selected line: 0
  580. -- icon id / first selected line: 0 / 0
  581. -- text alignment: 1
  582. -- font id: 3
  583. -- text size: 12
  584. -- style flags: 0
  585. -- line height: 16
  586. -- part name: hostBasedIndicator
  587. ----- HyperTalk script -----
  588. on mouseUp
  589.   send mouseUp to cd btn "hostSwitch"
  590. end mouseUp
  591.  
  592. On mouseDown
  593.   global ButtonSND
  594.   play ButtonSND
  595. End mouseDown
  596.  
  597. on mouseEnter
  598.   put "Host/PC Solutions Button" & return & "click for host-based solutions" into fld "Tell"
  599.   changeCurs 6069
  600. end mouseEnter
  601.  
  602. on mouseLeave
  603.   put empty into fld "Tell"
  604.   changeCurs 69
  605. end mouseLeave
  606.  
  607.  
  608.  
  609.  
  610. -- part 36 (button)
  611. -- low flags: 00
  612. -- high flags: 4000
  613. -- rect: left=0 top=0 right=27 bottom=512
  614. -- title width / last selected line: 0
  615. -- icon id / first selected line: 0 / 0
  616. -- text alignment: 1
  617. -- font id: 0
  618. -- text size: 12
  619. -- style flags: 0
  620. -- line height: 16
  621. -- part name: Title Bar
  622.  
  623.  
  624. -- part contents for card part 2
  625. ----- text -----
  626. Environment
  627.  
  628. -- part contents for card part 5
  629. ----- text -----
  630. Digital Solutions
  631.  
  632. -- part contents for card part 30
  633. ----- text -----
  634. Engineering/CAD
  635.  
  636. -- part contents for card part 7
  637. ----- text -----
  638. Products
  639.  
  640. -- part contents for card part 13
  641. ----- text -----
  642. Digital
  643. IBM
  644. Macintosh
  645. PC
  646. Tandem
  647. UNIX
  648. Wang
  649.  
  650. -- part contents for card part 14
  651. ----- text -----
  652. Communications
  653. Engineering/CAD
  654. Info Management
  655. Office Productivity
  656. Publishing
  657. Software Development
  658. Network Services
  659. Hardware
  660.  
  661.  
  662. -- part contents for card part 18
  663. ----- text -----
  664. Product Outliner
  665.  
  666. -- part contents for card part 35
  667. ----- text -----
  668. Host/PC Based Products
  669.  
  670. -- part contents for card part 34
  671. ----- text -----
  672. Macintosh Based Products
  673.  
  674. -- part contents for card part 16
  675. ----- text -----
  676. auraCAD/CAM
  677. AutoCAD for the Macintosh
  678. Claris CAD
  679. MacBRAVO! DETAILER
  680. MacBRAVO! ELECTRONICS DESIGNER
  681. MacBRAVO! FACILITIES
  682. MacBRAVO! MODELER
  683. Mathematica For Macintosh
  684. MicroStation Mac 3.5.1
  685. VersaCAD/Macintosh Edition 2.2
  686.  
  687.  
  688. -- part contents for background part 9
  689. ----- text -----
  690. Orientation Briefing Button
  691. click to go to briefing room